return {
  "nvim-telescope/telescope.nvim",
  -- branch = '0.1.x', --  tag = '0.1.8',
  dependencies = {
    "nvim-lua/plenary.nvim",
    {
      "nvim-telescope/telescope-fzf-native.nvim",
      build = "make",
    },
  },
  config = function()
    local telescope = require "telescope"

    telescope.setup {
      defaults = {
        mappings = {},
      },
      pickers = {
        colorscheme = {
          theme = "dropdown",
          previewer = false,
          -- 通过 :Telescope colorscheme 选择主题是否实时预览效果
          enable_preview = true,
        },
        find_files = {
          theme = "dropdown",
          -- 文件内容是否实时预览
          previewer = true,
        },
        live_grep = {
          theme = "dropdown",
          previewer = true,
        },
        grep_string = {
          theme = "dropdown",
          previewer = true,
        },
        buffers = {
          theme = "dropdown",
          previewer = false,
        },
      },
      extensions = {
        fzf = {
          fuzzy = true,                   -- false will only do exact matching
          override_generic_sorter = true, -- override the generic sorter
          override_file_sorter = true,    -- override the file sorter
          case_mode = "smart_case",       -- or "ignore_case" or "respect_case"
          -- the default case_mode is "smart_case"
        },
      },
    }

    -- fzf
    pcall(telescope.load_extension, "fzf")

    local builtin = require "telescope.builtin"
    vim.keymap.set("n", "<leader>ff", builtin.find_files, { desc = "Telescope find files" })
    vim.keymap.set("n", "<leader>fg", builtin.live_grep, { desc = "Telescope live grep" })
    vim.keymap.set("n", "<leader>fs", builtin.grep_string, { desc = "Telescope grep string" })
    vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Telescope buffers" })
    vim.keymap.set("n", "<leader>fh", builtin.help_tags, { desc = "Telescope help tags" })

    -- Select Preview colorscheme
    vim.keymap.set("n", "<leader>tc", "<Cmd>Telescope colorscheme<CR>", { desc = "Preview colorscheme." })
  end,
}
